'''
Created on Jan 27, 2013

@author: dheigl
'''

class Stock:
    def __init__(self, key, date, quotes, actualValue=0.0):
        self.key = key
        self.date = date
        self.quotes = quotes
        self.actualValue = actualValue

    def get_actual_value(self):
        return self.__actualValue


    def set_actual_value(self, value):
        self.__actualValue = value


    def del_actual_value(self):
        del self.__actualValue

        
    def get_key(self):
        return self.__key


    def get_date(self):
        return self.__date


    def get_quotes(self):
        return self.__quotes


    def set_key(self, value):
        self.__key = value


    def set_date(self, value):
        self.__date = value


    def set_quotes(self, value):
        self.__quotes = value


    def del_key(self):
        del self.__key


    def del_date(self):
        del self.__date


    def del_quotes(self):
        del self.__quotes

    key = property(get_key, set_key, del_key, "Name of the stock i.e. 'GOOG'")
    date = property(get_date, set_date, del_date, "Date of the stock")
    quotes = property(get_quotes, set_quotes, del_quotes, "Close value of the stock")
    actualValue = property(get_actual_value, set_actual_value, del_actual_value, "actualValue's docstring")
